* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1,
h2,
h3 {
    color: #2c3e50;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #3498db;
}

.progress-container {
    height: 30px;
    background: #ecf0f1;
    border-radius: 15px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 15px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-container span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: white;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.network-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.network-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.system-info p {
    margin: 10px 0;
    font-size: 0.95rem;
}

.update-time {
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
    padding: 10px;
}

.project-info {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.project-info p {
    margin: 5px 0;
    font-size: 0.95rem;
}

/* 添加导航链接样式 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.nav-links a {
    margin-left: 15px;
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

/* 项目信息卡片 */
.project-info {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
}

/* 温度监控样式 */
/* 温度进度条样式 */
.temperature-bar {
    height: 100%;
    border-radius: 15px;
    width: 0%;
    transition: width 0.8s ease;
    background: linear-gradient(90deg,
            #3498db,
            #2ecc71,
            #f1c40f,
            #e67e22,
            #e74c3c);
    /* 完整的蓝-绿-黄-橙-红渐变 */
    background-size: 100% 100%;
}

/* 为温度条添加渐变标记 */
.temperature-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* 60°C标记 */
.temperature-bar::after {
    left: 60%;
}

/* 80°C标记 */
.temperature-bar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    left: 80%;
}